import request from '@/utils/request'

// 查询消息
export function getmessagelist(params) {
    return request({
        url: `/base/message/list`,
        method: "get",
        params
    })
}

//编辑消息
export function editmessagelist(data) {
    return request({
        url: `/base/message/edit`,
        method: "put",
        data
    })
}

// 获取未读消息数量 /base/message/unreadSum
export function getMessageUnreadSumApi(params){
    return request({
        url: `/base/message/unreadSum`,
        method: "get",
        params
    })
}





